package com.kaili.pojo.dto.arrive;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.util.Date;

/**
 * Created by renzhikun on 18-11-27.
 */
@Data
public class ArrivePrintNumberDTO {

    @Pattern(regexp = "^[A-Za-z0-9]{0,20}$",message = "配载单或运单应为[A-Za-z0-9]组成的1-20位字符")
    @ApiModelProperty("配载单号")
    private String stowageNo;
    @ApiModelProperty("第一次打印时间")
    private Date firstPrintTime;
    @ApiModelProperty("最后一次打印时间")
    private Date lastPrintTime;
    @ApiModelProperty("打印次数")
    private Integer printCount;

}
